<?xml version="1.0"?>
<jsp:root 	xmlns:jsp="http://java.sun.com/JSP/Page"
			xmlns:sql="http://java.sun.com/jsp/jstl/sql"
			xmlns:c="http://java.sun.com/jsp/jstl/core" 
			version="2.1">
	<jsp:directive.page contentType="text/html; charset=UTF-8" />
	<jsp:directive.page isELIgnored="false" />
	<jsp:output omit-xml-declaration="false"
		doctype-root-element="html"
		doctype-public="-//W3C//DTD XHTML 1.1//EN"
		doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd" />
		
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Prueba</title>
</head>
<body>
	
	<sql:setDataSource dataSource="jdbc/ikexds"/>
	


		<sql:query var="articulo">
			select * from articulo;
		</sql:query>
	
	<table border="1">
		<c:forEach var="row" items="${articulo.rows}">
			<tr>
				<td><c:out value="${row.oid}" /></td>
				<td><c:out value="${row.nombrearticulo}" /></td>
				<td><c:out value="${row.precio}" /></td>
			</tr>
		</c:forEach>
	</table>
	
	</body>
</html>
</jsp:root>